package org.jeecg.modules.scm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 供应链关联关系前端展示对象
 * @author prb
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="资金方查询传输实体类", description="InvSearchDto")
public class PageSearchOfChainDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**核心客户名称*/
    @ApiModelProperty(value = "核心客户名称")
    private String coreCusName;
    /**项目名称*/
    @ApiModelProperty(value = "项目名称")
    private String itemName;
    /**上下游客户名称*/
    @ApiModelProperty(value = "上下游客户名称")
    private String relevantCusName;
    /**供应链关联关系*/
    @ApiModelProperty(value = "供应链关联关系")
    private String relationInChain;
    /**开始日期*/
    @ApiModelProperty(value = "开始日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDate;
    /**结束日期*/
    @ApiModelProperty(value = "结束日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endDate;

    /**页号*/
    @ApiModelProperty(value = "页号")
    private Integer pageNo;

    /**页号*/
    @ApiModelProperty(value = "页号")
    private Integer pageSize;

}
